package com.dalei.vdsmanager.security.dao;

import java.util.List;

public interface RoleDao {
	
	public void saveRole(Role role);
	
	public List<Role> findRoles();
	
	public List<Role> findRolesByCreator(User creator);
	
	public Role findRoleById(int id);
	
	public Role findRoleByRoleName(String roleName);
	
	public void updateRole(Role role);
	
	public void deleteRole(Role role);
}
